package com.shuai.user.domain.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.shuai.user.config.LongToStringSerializer;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
public class MessageVO implements Serializable {

    private String role;
    private String content;
    @JsonSerialize(using = LongToStringSerializer.class)
    private Long sessionChatId;
    private Date createTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}